#ifndef SAVEINFO_H
#define SAVEINFO_H
#include <vector>
#include "portInfo.h"
// 保存端口信息到文件
void savePortInfoToFile(const std::vector<PortInfo>& open_ports,
                        const std::vector<PortInfo>& closed_ports,
                        const std::vector<PortInfo>& filtered_ports,
                        const std::vector<PortInfo>& closedfiltered_ports,
                        const std::vector<PortInfo>& open_filtered_ports,
                        char* filename);

#endif